package com.eco.fanliapp.controller.app;

import com.eco.fanliapp.common.base.BaseController;
import com.eco.fanliapp.common.response.ServerResponse;
import com.eco.fanliapp.service.IAppWithdrawalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


@RestController

/**
 * @ProjectName: fanliapp
 * @Package: com.eco.fanliapp.controller.app
 * @ClassName: WithdrawalController
 * @Author: LC
 * @Description: 提现
 * @Date: 2019/11/28 15:13
 * @Version: 4.2.2
 */
@RequestMapping("/web/withdrawal")
public class WithdrawalController extends BaseController {

    @Autowired
    private IAppWithdrawalService withdrawalService;

    /**
     * 提现记录查询（app轮播消息）-used
     * @return
     */
    @RequestMapping(method = RequestMethod.GET, value = "/findAll")
    public ServerResponse findAll() {
        return  withdrawalService.findAll();
    }


}
